.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--color-white);
  color: var(--text-color-secondary);

  &.bordered {
    border: 1px solid @border-color-base;
  }

  &.empty {
    .loadingbox {
      width: 100px;
      height: 100px;
    }
  }

  &.error {
    .loadingbox {
      width: 80px;
      height: 80px;
    }
  }

  &.loading {
    .loadingbox {
      width: 60px;
      height: 60px;
    }
  }

  .loadingbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
  }

  .desc {
    font-size: @font-size-md;

    + .action {
      margin-top: @margin-lg-1;
    }
  }

  &.horizontal {
    flex-direction: row;

    .loadingbox {
      width: 48px;
      height: 48px;

      + .desc {
        margin-top: 0;
        margin-left: @margin-lg;
      }
    }

    .desc {
      font-size: @font-size-sm;

      + .action {
        margin-top: 0;
        margin-left: 12px;
      }
    }
  }
}
